package com.ytjj.qmyx.admin.dao;

import com.ytjj.qmyx.admin.model.dto.ForumProductDto;
import com.ytjj.qmyx.admin.model.request.HotelProductRequest;
import com.ytjj.qmyx.admin.model.response.HotelProductResponse;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Description TODO
 * @ClassName HotelDao
 *
 *
 * @Version 1.0
 **/
@Repository
public interface HotelDao {

    List<HotelProductResponse> getHotelProductList(HotelProductRequest hotelProductRequest);

    List<ForumProductDto> searchHotelProduct(@Param("productId") Integer productId, @Param("productName") String productName);

    void addHotelProduct(@Param("productId") Integer productId, @Param("type") String type, @Param("sort") Integer sort, @Param("status") Integer status);

    void updateHotelProduct(@Param("sort") Integer sort, @Param("status") Integer status, @Param("id") Integer id);

    void deleteHotelProduct(@Param("id") Integer id);
}
